package com.dmap.community.po;

import java.io.Serializable;

public class TabCommunityTheme implements Serializable {
    /**
     * 帖子主键
     * 表字段 : tab_community_theme.id
     */
    private Long id;

    /**
     * 用户id
     * 表字段 : tab_community_theme.userId
     */
    private Long userid;

    /**
     * 宝宝id
     * 表字段 : tab_community_theme.babyId
     */
    private Long babyid;

    /**
     * 
     * 表字段 : tab_community_theme.content
     */
    private String content;

    /**
     * 
     * 表字段 : tab_community_theme.imageUrl
     */
    private String imageurl;

    /**
     * 视频地址
     * 表字段 : tab_community_theme.videoUrl
     */
    private String videourl;

    /**
     * 帖子类型  0-默认动态  1-聚宝盆 2-问答
     * 表字段 : tab_community_theme.type
     */
    private Integer type;

    /**
     * 发表时间(秒)
     * 表字段 : tab_community_theme.createTime
     */
    private Long createtime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table tab_community_theme
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_theme
     *
     * @mbggenerated
     */
    public TabCommunityTheme(Long id, Long userid, Long babyid, String content, String imageurl, String videourl, Integer type, Long createtime) {
        this.id = id;
        this.userid = userid;
        this.babyid = babyid;
        this.content = content;
        this.imageurl = imageurl;
        this.videourl = videourl;
        this.type = type;
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_theme
     *
     * @mbggenerated
     */
    public TabCommunityTheme() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.id
     *
     * @return the value of tab_community_theme.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.id
     *
     * @param id the value for tab_community_theme.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.userId
     *
     * @return the value of tab_community_theme.userId
     *
     * @mbggenerated
     */
    public Long getUserid() {
        return userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.userId
     *
     * @param userid the value for tab_community_theme.userId
     *
     * @mbggenerated
     */
    public void setUserid(Long userid) {
        this.userid = userid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.babyId
     *
     * @return the value of tab_community_theme.babyId
     *
     * @mbggenerated
     */
    public Long getBabyid() {
        return babyid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.babyId
     *
     * @param babyid the value for tab_community_theme.babyId
     *
     * @mbggenerated
     */
    public void setBabyid(Long babyid) {
        this.babyid = babyid;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.content
     *
     * @return the value of tab_community_theme.content
     *
     * @mbggenerated
     */
    public String getContent() {
        return content;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.content
     *
     * @param content the value for tab_community_theme.content
     *
     * @mbggenerated
     */
    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.imageUrl
     *
     * @return the value of tab_community_theme.imageUrl
     *
     * @mbggenerated
     */
    public String getImageurl() {
        return imageurl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.imageUrl
     *
     * @param imageurl the value for tab_community_theme.imageUrl
     *
     * @mbggenerated
     */
    public void setImageurl(String imageurl) {
        this.imageurl = imageurl == null ? null : imageurl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.videoUrl
     *
     * @return the value of tab_community_theme.videoUrl
     *
     * @mbggenerated
     */
    public String getVideourl() {
        return videourl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.videoUrl
     *
     * @param videourl the value for tab_community_theme.videoUrl
     *
     * @mbggenerated
     */
    public void setVideourl(String videourl) {
        this.videourl = videourl == null ? null : videourl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.type
     *
     * @return the value of tab_community_theme.type
     *
     * @mbggenerated
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.type
     *
     * @param type the value for tab_community_theme.type
     *
     * @mbggenerated
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column tab_community_theme.createTime
     *
     * @return the value of tab_community_theme.createTime
     *
     * @mbggenerated
     */
    public Long getCreatetime() {
        return createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column tab_community_theme.createTime
     *
     * @param createtime the value for tab_community_theme.createTime
     *
     * @mbggenerated
     */
    public void setCreatetime(Long createtime) {
        this.createtime = createtime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table tab_community_theme
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", userid=").append(userid);
        sb.append(", babyid=").append(babyid);
        sb.append(", content=").append(content);
        sb.append(", imageurl=").append(imageurl);
        sb.append(", videourl=").append(videourl);
        sb.append(", type=").append(type);
        sb.append(", createtime=").append(createtime);
        sb.append("]");
        return sb.toString();
    }
}